home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010921-20020314 / 000299_lvm@cowlitz.com_Mon Jan 21 14:29:18 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  32 lines

  1. Article: 13134 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: lvm@cowlitz.com (Larry Mann)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Command line redirection with K95 ?
  6. Date: 21 Jan 2002 10:41:15 -0800
  7. Organization: http://groups.google.com/
  8. Lines: 14
  9. Message-ID: <3d44a7c4.0201211041.639becb6@posting.google.com>
  10. NNTP-Posting-Host: 12.230.243.34
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1011638475 16828 127.0.0.1 (21 Jan 2002 18:41:15 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: 21 Jan 2002 18:41:15 GMT
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13134
  17.  
  18. Many years ago I wrote several Kermit scripts, on HP-UX, which were
  19. run form the command line through standard input redirection and the
  20. output was captured to file through redirection. I now need to move
  21. these scripts to a Windows 2000 Server but have found that redirection
  22. does not appear to work with K95. If appears simple to put the script
  23. file name as the first param when calling K95 to specify the script to
  24. run but have been unable to capture the remote systems response to
  25. commands in a local file.
  26.  
  27. More explicitly, how would I capture the response to "rem dir" to a
  28. local file for futher processing in a shell script?
  29.  
  30. Any suggestions would be appeciated,
  31. Thanks, Larry Mann
  32.